// const reg = {
//   num: /^\d+$/,
//   pwdSecurityLevel1: /^\d+$/, //强度1  只包含数字
//   pwdSecurityLevel2: /^\d+$/, //强度2  只包含数字
//   pwdSecurityLevel3: /^(?![a-zA-Z]+$)(?![A-Z0-9]+$)(?![A-Z\W_!@#$%^&*`~()-+=]+$)(?![a-z0-9]+$)(?![a-z\W_!@#$%^&*`~()-+=]+$)(?![0-9\W_!@#$%^&*`~()-+=]+$)[a-zA-Z0-9\W_!@#$%^&*`~()-+=]/, //强度3
//   iDRe18: /^([1-6][1-9]|50)\d{4}(18|19|20)\d{2}((0[1-9])|10|11|12)(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/,
//   iDre15: /^([1-6][1-9]|50)\d{4}\d{2}((0[1-9])|10|11|12)(([0-2][1-9])|10|20|30|31)\d{3}$/
// };

const num = /^\d+$/;
const pwdSecurityLevel1 = /^\d+$/; //强度1  只包含数字
const pwdSecurityLevel2 = /^\d+$/; //强度2  只包含数字
const pwdSecurityLevel3 = /^(?![a-zA-Z]+$)(?![A-Z0-9]+$)(?![A-Z\W_!@#$%^&*`~()-+=]+$)(?![a-z0-9]+$)(?![a-z\W_!@#$%^&*`~()-+=]+$)(?![0-9\W_!@#$%^&*`~()-+=]+$)[a-zA-Z0-9\W_!@#$%^&*`~()-+=]/; //强度3
const iDRe18 = /^([1-6][1-9]|50)\d{4}(18|19|20)\d{2}((0[1-9])|10|11|12)(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/;
const iDRe15 = /^([1-6][1-9]|50)\d{4}\d{2}((0[1-9])|10|11|12)(([0-2][1-9])|10|20|30|31)\d{3}$/;

export  {
  num,
  pwdSecurityLevel1,
  pwdSecurityLevel2,
  pwdSecurityLevel3,
  iDRe15,
  iDRe18,
};